Find the code for your dynamic number in the ‘My Numbers’ section of your company. The dynamic number will have a symbol before the name. Click into that number and scroll to the bottom of the ‘Configure’ tab to find and copy the dynamic code. Also be sure the Google Tag Manager is installed on the site you are implementing the dynamic code on before beginning.
1. Log into Google Tag Manager and navigate to the domain of the site you are inserting the number.
2. Click New Tag.
3. Name the tag at the top of the page, then select the box labeled Tag Configuration.
4. Select Custom HTML under the section Custom.
5. Copy your dynamic number code from to bottom of the Configure tab in My Numbers and paste it into the HTML box in Google Tag Manager.
6. Click the Triggering box below, and choose your trigger. We recommend setting your script to fire during loading of all pages of your website by selecting the default All Pages trigger.
7. Click Save to add your tag to your workspace.
8. You can test your tag by hitting Preview and then navigating to the url of your site. It is best to do this in an incognito browser to avoid being cookied. Make sure you see the dynamic number swapping in the scenarios that it should (i.e ‘All Traffic, only AdWords, from Facebook’ etc.).
9. Once your tag has been added to your workspace and you have tested, click Submit at the top of the page to activate the script on your website.
That’s it! If you have any questions, email us at firstname.lastname@example.org