Find Jobs
Hire Freelancers

JS Script To Pass Variable and Retrieve Another JS script,

$10-30 USD

Completed
Posted over 5 years ago

$10-30 USD

Paid on delivery
I have a program that returns JS to a site, but the JS is returned upon calling a PHP script. Google Tag Manager doesn't like the fact that the script scr is a PHP file and is throwing many errors. So I need to somehow have an externam script src file that will refer to a PHP script to process and then return the JS to the requesting site. This is for a pop up program called xzy_script. The current inserted script on my clients website looks like this: <script type="text/javascript" src="https://[URL]/[login to view URL]" ></script> I have been told that if this is inserted by GTM, it needs to be a js file, not a PHP file being used as the src. Is there a way to sent that variable $_GET['page'] to a js file, and then redirect and return the original process of the index..php file?
Project ID: 18405150

About the project

5 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi, Hope You are doing good. I am fullstack developer having extensive experience in javascript. Would be happy to work with you right away.
$20 USD in 1 day
5.0 (12 reviews)
3.4
3.4
5 freelancers are bidding on average $120 USD for this job
User Avatar
Hi, I have gone through your description and got a pretty much idea of what you want. I can assure you that i can do this task. Looking forward to hear from you soon.
$28 USD in 0 day
5.0 (6 reviews)
3.4
3.4
User Avatar
HELLO I CAN START RIGHT NOW - I AM EXPERT IN AJAX HTML and I BET YOU CANNOT FIND BETTER FREELANCER THAN ME ... pLEASE MESSEGE ME AND LETS DISCUSS THE THINGS THANKS
$25 USD in 1 day
2.7 (5 reviews)
2.9
2.9

About the client

Flag of CHINA
Shenyang, China
4.4
10
Payment method verified
Member since Jul 13, 2017

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.