Where to install the code?
The JavaScript Tag should be installed on all pages of the website. This is to ensure that our code is on all pages necessary for data and analytics collection, and to run your campaign effectively. A common placement is within the footer code, especially if your footer is present on all pages. This code is asynchronous and will only load after the rest of your page fully loads.
Google Tag Manager Installation Instructions
Option 1: Custom HTML
1. Open the file “CybbaJSTag” and copy the entire code. Click the TAGS section on the left hand side navigation bar, then click NEW.
2. Click in the Tag Configuration section, and scroll down to Custom HTML. Paste the code in the Custom HTML box and set the trigger rules to All Pages.
3. Name the tag and save your changes. Finally, click SUBMIT in the top right corner, and PUBLISH the tag.
Option 2: Tag Templates
For more details, you can find the complete guide on our Confluence page.
1. Understanding Google Tag Manager Templates
- Purpose: Templates in GTM are pre-configured setups for common tags. They simplify the process of setting up tracking, marketing, or analytics functionalities.
- Types: There are two main types of templates in GTM - tag templates and variable templates. Tag templates are for third-party services like Google Analytics, while variable templates are used for custom data retrieval.
2. Accessing and Choosing Templates
- Accessing: To access templates, you need to log into your GTM account, select a container, and navigate to the TEMPLATES section.
-
Choose Cybba: When using GTM templates, you can search for “Cybba” in the SEARCH GALLERY section and add it to your workspace. The gallery offers templates for various third-party services.
3. Configuring the Template
- Setting Up: Once a template is added, you can follow these steps to implement our tag:
- Create a new tag and name it "Cybba Container Tag".
- Click on TAG CONFIGURATION and select CYBBA.
- Enter the provided CYBBA SITE ID.
- Click on TRIGGERING and select ALL PAGES
4. Publishing the Template
- Version Control: GTM keeps track of changes in versions. When you’re ready to go live, create a new version.
- Publishing: Publish the new version to make your template active on your website..
Please ensure that all tags are properly configured to comply with local privacy laws. It is important to follow your site's consent manager configuration in order to meet the necessary requirements.
After Installation
Once your code has been installed, please contact your Account Representative to evaluate whether the integration has been completed successfully. Your representative may also ask that Cybba’s technical team perform a test purchase on the site to complete the configuration.
If you need further assistance, please contact your Cybba representative, or reach out to tagsupport@cybba.com.