Snapchat CAPI tag setup
As explained in our documentation, the integration of Snapchat CAPI has become an imperative for advertisers. It is currently the most effective solution for maximizing the number of conversions attributed to your advertising campaigns. If implementing Snapchat CAPI seems complex, don't worry, the tag developed by Addingwell will simplify the process considerably! Follow our detailed guide to the optimal configuration of Snapchat CAPI...
Import tag
Download tag
Click here (opens in a new tab) to download the Snapchat Conversion API tag and click the download icon to retrieve the file.
Import tag into sGTM
Go to the Templates tab of the server container, then, in the Tag templates section, click on New.
Then click on the three small dots in the top right-hand corner, and select Import.
Save the new imported tag
Then select the newly uploaded template.tpl file, and click Save.
Configure the tag
Create a new tag in Google Tag Manager Server-Side and select the newly created Snapchat CAPI tag.
To configure the tag, two pieces of information are required:
- The Snapchat Pixel ID on which to send the data.
- The Access Token to communicate with the conversion API.
Once you've retrieved the access token and pixel ID, configure the Snapchat CAPI tag.
Event Name Setup Method
Setup Method | Description |
---|---|
Inherit from client | Tell the tag to map between GA4 events received from the client-side container and standard Snapchat events. |
Override | Match GA4 events to what needs to be sent to Snapchat. Choose to send either a standard event or a custom event (CUSTOM_EVENT_[1-5] ). |
Access Token
Enter here the access token retrieved in Business Settings.
Pixel ID
Enter the pixel ID retrieved from Business Settings or Event Manager.
Test Events
Check this box only for test sending events to Snapchat
It's not recommended to keep this box checked in the Snapchat Conversion API tag in production environment. Remember to uncheck it before publishing your server container.
Triggering the tag
Trigger the Snapchat CAPI tag on relevant GA4 events using the tag mapping table.
For example, for an e-commerce website, the following events are typically used:
Event name |
---|
page_view |
view_item_list |
view_item |
add_to_cart |
begin_checkout |
add_payment_info |
purchase |
This list of events is of course not exhaustive and depends on your situation.
For optimal organization, create a Lookup Table variable configured as follows:
In the Snapchat CAPI tag, create a custom trigger verifying that the events come from GA4 (Client Name = GA4
) and that the previously configured Lookup Table returns true
.
Next step
Now that you've finished configuring the Addingwell Snapchat CAPI tag, it's time to check received data.