First time setting up google conversion tracking for my client's custom form. I'm working locally on my localhost.

I created a new conversion goal, configured custom tracking event, linked through google tag manager, etc.

Google Tag assistant sees and "greens" all my tags. When I submit the form, I can see in the tag manager console that custom event gets added to the dataLayer as expected.

So far so good, but I see in the Adwords account "no recent conversions".

I don't know if this is because I set something up incorrectly, or because Google only tracks events on the actual domain and not on localhost (this would make sense).

So is there any way to test this end-to-end while developing locally?

2 Answers 2


Not really - because you'll get no "real" conversion on the localhost.

But, you can test, whether your implementation was error-free. Set your GA account into debug mode, or use a debug extension. Using it you'll get all the information, which is sent to GA, into the console.


Instead of a localhost install, why not try a dev.yourlivesite.com? That would still be on your domain so most of your settings and site verifications should work.

  • as a developer, working locally is crucial. Doing development work on live servers is not practical.
    – geochanto
    Aug 26, 2019 at 17:42
  • No one said that you couldn't develop locally @geochanto just gave one option that wouldn't require a ton of extra configuration on the Google Analytics side. It's not a silver bullet, just one idea to test a specific problem for tracking conversions.
    – keepkalm
    Aug 27, 2019 at 0:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.