Using a Tag Manager to insert the Convert tracking code on a page makes it sub-optimal because the loading of the script will become asynchronous and therefore, will eventually load after the page has load. In that way, there will be quite some time until the experiment changes can be applied.
Users can notice a flickering effect, seeing for a short time the original content which then changes into the variation content.
We do not advise on using any Tag Manager (e.g. Google Tag Manager, Tealium) for inserting the main tracking code on a page.
But if you do not have easy access to your site's source code to add the Convert snippet, you can inject the Convert snippet through Google Tag Manager (GTM).
Use GTM to Insert Convert Experiences code
Find the Convert tracking code
Grab the tracking code from your Project's settings inside your account;
Create a new tag of type Custom HTML in GTM
In GTM, create a new tag of type Custom HTML.
Give it a descriptive name and paste the below code followed by the main Convert Experiences Tracking code (the one you grabbed in step 1) inside the tag content
Your tag is ready. You need now to publish your current workspace.
Click on the Submit button at the top right hand side of the screen. The Submit Changes screen will appear, with options to publish the container and save a version of your container. Select Publish and Create Version if it is not already selected.
Review the Workspace Changes section to see if everything looks as expected.
Enter a Version Name and Version Description.
If you have Tag Manager configured to use multiple environments, select which environment you'd like to publish to in the Publish to Environment section.