- Loqate, a GBG solution
Yes, this is a great way to get the Loqate Tag working on your website quickly and easily.
If you are unfamiliar with Google Tag Manager, begin by reading About Google Tag Manager. To add the Loqate Tag to your container in Google Tag Manager:
Your Loqate Tag is now installed on your website and you are ready to continue setting up Loqate services, eg: Capture+.
To complete this process, you must have access to your website source code, be comfortable editing HTML (or have a webmaster/developer who can help you), and have a Loqate Predict account and service set up.
To set up the Loqate Tag:
Yes, you will need to use a program to host the website locally, such as IIS (Windows) or Apache (Mac/Windows). You will need to create a new site in your hosting programme, and then map it to the file or folder containing the pages you want to set the Tag up on. In the site bindings set the port to 80, then run the website, the URL should look something like this: http://localhost/ (this is the URL you will need to enter during our Tag setup process).
There are two ways to add the Loqate Tag to your website:
To check if the Loqate Tag has been successfully added to your website, open your website in a browser and right click to ‘view page source/view source’. With this view of your website code open, search for the text “pcapredict.com” (CTRL + F will open a search tool on most browsers); if the text is found then you have the tag.
If you’re not setting up the Loqate Tag on a website, you can use the Loqate API to implement our services in any application.
Firstly, check that we are looking at the right website - are there any typos in the website address that you entered? Secondly, did you paste the Loqate Tag code in the right place - save and re-upload your webpages to make sure. Finally, it’s possible your website is cached which means we can’t yet retrieve the updated files that contain the Loqate Tag; read ‘What can I do if my website is cached?’ for help with this.
If your website is not showing recent updates you made then it may need its cache cleared. If you host your own site then speak to your technical team for help. If you do not host your own site then you might need to contact the support team at your hosting provider, or inspect your admin tools for an option to clear the site cache. Sometimes the cache will clear automatically after an hour or so, it’s worth checking again later if you have this problem.
Adding the Loqate Tag site-wide is the easiest way for you to set up Loqate services. It will allow you to add our new and existing services to any page of your website in future without the need to involve a web developer each time. Sometimes it’s tricky to find the right stage to add the code, so by doing it this way you know for sure our service will work on the pages you need it to.
All our services are available across https. To prevent these alerts you need to make a small amendment to the request you are sending to us. Simply change the start of the request you make from "http://services.postcodeanywhere..." to "https://services.postcodeanywhere...".
Yes. You can control your lookup settings from the service area when you log in to your account, Choose the key you want to edit and select the On Page Setup tab. From here you can Activate the on-page setup which will launch the setup process again, allowing you to reconfigure how the lookup works. If you can't see an On Page Setup section, your key is most likely an older popup key. In this case, the edit screen gives you the option to reset all the mappings for your look-up. This will make the lookup button on your site appear as ‘Set-up PCA Predict’ and allow you to remap the look-up.
Your account details can be restricted to your specific URL in fact we recommend you do this. This means that even with code types where your details are visible, they are still safe and secure. Anyone attempting to use them from another site would have their requests rejected and you’d be alerted via email.
Counties are no longer a required part of the address and Royal Mail have not supported them since 1999. This means for areas such as London we do not return a county as part of the address. Don’t panic! You have a number of options if you want to also have a county returned with our service. Simply log in to your account, select "Your details and settings" and click on "Edit these settings" within the UK Counties pane. You can then choose between the following options: