Google Tag Manager Template for SafeOpt Conversion Tag
NOTE: This is only 1 of 2 templates that must be used to correctly configure SafeOpt tags on your site
Must Also Install and Configure SafeOpt - Global Site Tag
SafeOpt - Global Site Tag: https://github.com/addshoppers/google-tag-manager-global-site-tag
- Template name: SafeOpt - Conversion Tag
- Brand: SafeOpt
- Works with: Google Tag Manager (must be setup to work with your site)
- Install method:
- Google Tag Manager Community Template Gallery
- Import template into Google Tag Manager
- Version: 1.0.0
- Developer: Addshoppers
- Contact: [email protected]
This is a Google Tag Manager (GTM) that installs the SafeOpt Conversion Tag your site. You must have Google Tag Manager correctly configured for the SafeOpt tags to work on your site. Google Tag Manager variables for order value and order ID are required for a successful setup. Please reference Google Tag Manager documentation for support on variable setup.
NOTE: Please contact [email protected] if you need support.
-
Click on Tags on the right menu bar in your Google Tag Manger (GTM) account
-
Click the New button
- click on the tag to configure
-
Click on Discover more tag types in Community Template Gallery
-
Click on search and look for SafeOpt
-
Select SafeOpt - Conversion Tag template from community gallery
-
Click on Add to Workspace
- Click Add
-
Name Tag
SafeOpt - Conversion Tag
-
Select correct variables for the following files:
- Value (required): subtotal value for the order (before tax and shipping)
- Order ID (required): unique order ID
- User Email (optional): user email associated with order
- Currency (optional): order currency (set to Hard Code Currency for static currency)
- Currency Hard Coded (optional): set ISO 4217 currency code for static currency
- Offer Code (optional): one offer code used for order
for optional fields select
Not Available
if no variable is available in GTM
Contact [email protected] for support
- Click anywhere in the Trigger box to configure trigger
- Select an existing trigger (if you created one previously) or build a new trigger
please see GTM documentation for help with trigger creation
NOTE: the trigger needs to only fire once on the order confirmation,or thank you page, etc. please create the required trigger in GTM
-
Click the save button
-
Submit and Publish Changes
-
Verify tag is installed correctly by creating a test order and checking for
AddShoppersConversion
object in console on the order confirmation page
NOTE: Value and Order ID fields are required
Templates are created and updated in Addshoppers GTM account.
When a new version is release please do the following:
- export updated template from GTM
- Replace the current
template.tpl
file with updated file (must use this name) - update readme.md with the latests version and any other updates required
- update
metadata.yaml
with the latest version and SHA value
More Info at: GTM Repo Requirement