Tracking Calls with CallTrackerFX in a Metalocator iframe

Posted by: Alicia Barnard Date Posted: January 23, 2024
Back to Case Studies

Issue

This client uses a location search iframe called Metalocator. This iframe is a locator that updates dynamically in many different ways (user allows location, user searches, etc). This made tracking calls through CallTrackerFX more complicated than our usual setups would. The medium was also always showing as “direct” irrespective of where the user was coming from.

Solution

Custom Javascript placed within the iframe will ensure that CallTrackerFX numbers show correctly within the location search iframe.

Achievement

The Interactive dev team created a script that can be added to Metalocator to swap the numbers correctly using CallTrackerFX. This script was tested and worked perfectly. It has yet to be added to the client’s Metalocator, as it will require additional work from MarTech to get the medium sent to the iframe so the variable can be set to the correct medium.

Snippet/Screenshot/Link

TWFX thread – https://app.webfx.com/todos/261154800