Find Jobs
Hire Freelancers

Need Javascript for Google Tag Manager expert

$10-30 AUD

Berlangsung
Dibuat sekitar 1 tahun yang lalu

$10-30 AUD

Dibayar ketika dikirim
To indicate you have read the description and are qualified for this job, please start your application with the following words. Any applications that do not will be ignored. "js - tag manager - undefined error" That means I'm NOT just looking for someone who can write javascript, I want someone who is also experienced with writing js for Google Tag Manager, AND can troubleshoot errors on the platform. I work with Tag Manager a lot but I know nothing about javascript, so there is a good likelihood of ongoing work for the right person THE JOB: It's really very simple. I need to remove a dollar sign from a variable that I have scraped from the DOM. I have used the following code to remove the dollar sign, and the person who wrote the code assures me it should work, but it is only ever returning "undefined" function() { var priceText = {{Booking Price}}; var regex = /([0-9.,]+)/; if ([login to view URL](priceText)) { return [login to view URL](regex)[0].replace(/,/g, ''); } } That code is more complex than it needs to be because it is written to remove ANY unnecessary characters from a price. ALL I need to do is to remove the left-most character OR remove dollar signs from the existing variable. Please only bid if you are confident you can perform the job. No time-wasters!
ID Proyek: 36277150

Tentang proyek

10 proposal
Proyek remot
Aktif 1 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
10 freelancer menawar dengan rata-rata $39 AUD untuk pekerjaan ini
Avatar Pengguna
Hi, I'm a Google Analytics consultant with experience since 2016 year. I have worked with more than 150+ sites from simple event tracking to complex projects for big companies. I can identify for you what need to track for your business before implementation if you want. I will setup Google analytics & I will also setup Google tag manager and integrate it with your site for Free. Additionally i can also setup and fix all errors related to Google Ads, Google Search Console & Facebook Pixel. I can also provide the following event tracking and other services in Google Analytics for you: Setup Google Analytics 4 (GA4) Upgradation (New Feature) Setup Goals & Funnels Setup Conversion & event tracking Setup Google Ads Conversion Tracking Google Ads Remarketing Enhanced E-Commerce Tracking Setup Custom Dimensions & Metrics Setup Custom Dashboards & Alerts Setting up Filters and Custom Reports and much more!
$200 AUD dalam 7 hari
5,0 (6 ulasan)
4,3
4,3
Avatar Pengguna
Hi, We went through your project description and it seems like our team is a great fit for this job. We are an expert team which have many years of experience on JavaScript, Google Tag Management Please come over chat and discuss your requirement in a detailed way. Regards
$20 AUD dalam 7 hari
5,0 (1 ulasan)
0,0
0,0
Avatar Pengguna
js - tag manager - undefined error:I am able to do it, the error in your function not because of code, replacing method is now too old, I will us new one.
$20 AUD dalam 2 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
solucion: in JavaScript and uses regular expressions to remove the dollar sign from a string. However, there are a few issues with the code that could be causing it to return "undefined". Firstly, the code is written as an anonymous function with no name, and it is not clear how you are invoking this function. In order to use the code, you should either give the function a name and call it explicitly, or place the code inside a script tag in your HTML file so that it runs automatically when the page is loaded. Secondly, the regular expression in the code is looking for digits, commas, and periods within the string, but it is not explicitly looking for a dollar sign. If your variable {{Booking Price}} includes a dollar sign, you should modify the regular expression to include it. For example, you could change the regex variable to: var regex = /\$?([0-9.,]+)/; This regex will match an optional dollar sign followed by one or more digits, commas, or periods. Lastly, if the {{Booking Price}} variable does not include a valid price value that matches the regular expression, the function will return undefined. You should make sure that the variable is properly defined and contains a valid price value before invoking the function.
$15 AUD dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
js - tag manager - undefined error. hi i can fix your problem. just give me a little more details about the project like: is the variable an string?
$20 AUD dalam 7 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
js - tag manager - undefined error It sounds like you're experiencing an issue with the custom JavaScript code in Google Tag Manager that is intended to remove a dollar sign from a variable scraped from the DOM. I can certainly help you with this.
$20 AUD dalam 1 hari
5,0 (1 ulasan)
0,0
0,0
Avatar Pengguna
Hello, I can help you with what you need! Nice to meet you, I'm Vinicius Bene, I've served more than 30 different branches and more than 70 companies and I'm sure I can help you!
$20 AUD dalam 7 hari
0,0 (0 ulasan)
0,0
0,0

Tentang klien

Bendera AUSTRALIA
Flemington, Australia
4,8
28
Memverifikasi Metode pembayaran
Anggota sejak Agu 7, 2015

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.