Integrate on-site
Convert shoppers with targeted, gated rewards.
Setup
Integrate gocertify by adding the following gocertify to your site’s <head>
using either a tag manager (no developer needed) or manually pasting it in (basic HTML knowledge recommended). The setup takes less than 2 minutes!
Remember to replace example-company
with your actual company name in the script below.
<script>
(function() {
var el = document.createElement("script");
el.setAttribute("src", "https://assets.gocertify.me/assets/gocertify.js");
el.setAttribute("data-brand", "example-company"); //replace example-company with your company name
el.setAttribute("defer", "true");
document.body.appendChild(el);
})();
</script>
Option 1: Use tag manager (no dev required)
Tag managers let you can easily add the gocertify script site-wide without needing a developer. Pick your prefered manager to see how it’s done.
Watch our tutorial video or follow these steps.
Add a new tag
Navigate to your Google Tag Manager (GTM) account and select Add new Tag
Pick the Custom HTML configuration
Within the tag configuration, select the Custom HTML
option.
Paste in your gocertify script
Copy and paste the following script into the HTML tag. Remember to replace example-company
with your actual company name.
<script>
(function() {
var el = document.createElement("script");
el.setAttribute("src", "https://assets.gocertify.me/assets/gocertify.js");
el.setAttribute("data-brand", "example-company"); //replace example-company with your company name
document.body.appendChild(el);
})();
</script>
Trigger to fire on all pages
Within the Triggers
options configure the tag to fire on all pages.
Note: The script is just 12kb and well optimised so it won’t slow down your site.
Save and Publish
Save your tag as gocertify
and publish your container.
Watch our tutorial video to see how it’s done.
Navigate to the plugin Store
Select Toolbox
from your main menu and then under Links and Tools
select Plugin Store
.
Activate Plugin
Within the store search for the gocertify plugin and click Activate now
and confirm your choice.
View your Plugins
Once activated the final modal will give you the option to View My Plugins
. Select this and you will see that the plugin is activated and the script has been deployed.
Request an install link
As our Shopify app is still in Beta you will need to first request an install link from your gocertify account manager.
Install the app
Once you have received the install link, you can install the app by clicking on the link and selecting Install
.
Connect to your brand
Once installed, you will see the app appear in your left side menu. Click on the app and you will be asked to connect to your gocertify brand by clicking Connect
.
Select your brand
You will be presented with a list of brands you have access to. Select the brand you want to connect the app to. If you cannot see your brand, please contact your gocertify account manager.
Navigate to the embed page
Once successfully connected you will see a success message and a button asking you to Enable the script
. Click this button to navigate to the embed page.
Enable your embed script
Click the toggle to enable the embed script. The gocertify head script is now enabled and added to your site.
Option 2: Manually add script
Copy and paste the gocertify script into the <head>
of your site. Remember to replace example-company
with your actual company name.
<script>
(function() {
var el = document.createElement("script");
el.setAttribute("src", "https://assets.gocertify.me/assets/gocertify.js");
el.setAttribute("data-brand", "example-company"); //replace example-company with your company name
el.setAttribute("defer", "true");
document.body.appendChild(el);
})();
</script>
Note: If you cannot add the script to the <head>
of your site you can place it in the <body>
.