I'm currently working on a project that has a legacy system, unique product, and unique webstore which can't really be changed or updated at the moment.
I've programed a bash script to check the backend and pull the relevant info. The script should trigger an Ad conversion depending on various factors that I've programed into the script. The script currently checks and executes everything correctly except the ad conversion part.
- How can I get curl or wget to execute an ad conversion with Google Adword using the JS code that normally goes in the header
Do I have to make a dummy html page and add this code or can I add it directly to the script or wget/curl's command line?
Can wget/curl trigger the code standalone, can it trigger it in an html page?
- Whats the default behavior of wget/curl when fetching a page that has ads or some kind of tracking?
Is there a way for me to build a URL with google's or matomo's API that would trigger a conversion?