Friday, May 29, 2020

How to track conversion for a button click?

Hi,

I need to track conversions on for an ebook page. The code goes like this:

input type="text" name="robot" id="frm-ebookForm-ebookForm-robot"><button type="submit" name="\_submit" class="button-link btn btn--primary">Submit</button><input type="hidden" name="\_do" value="ebookForm-ebookForm-submit"></form>

I guess it's just javascript so the page stays the same after you hit that Submit button.

Do I have to use Google tag manager? Is there another "simpler" way? I need it just for this one conversion on this site so I guess that just a one-line of code would do the job the best.

Could anybody please help?

submitted by /u/Fipacz
[link] [comments]

from Search Engine Optimization: The Latest SEO News https://www.reddit.com/r/SEO/comments/gsulk6/how_to_track_conversion_for_a_button_click/>

No comments:

Post a Comment