Find Jobs
Hire Freelancers

Need Javascript for Google Tag Manager expert

$10-30 AUD

Đang triển khai
Đã đăng vào khoảng 1 năm trước

$10-30 AUD

Thanh toán khi bàn giao
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!
Mã dự án: 36277150

Về dự án

10 đề xuất
Dự án từ xa
Hoạt động 1 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
10 freelancer chào giá trung bình $39 AUD cho công việc này
Avatar người dùng
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 trong 7 ngày
5,0 (6 nhận xét)
4,3
4,3
Avatar người dùng
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 trong 7 ngày
5,0 (1 nhận xét)
0,0
0,0
Avatar người dùng
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 trong 2 ngày
0,0 (0 nhận xét)
0,0
0,0
Avatar người dùng
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 trong 1 ngày
0,0 (0 nhận xét)
0,0
0,0
Avatar người dùng
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 trong 7 ngày
0,0 (0 nhận xét)
0,0
0,0
Avatar người dùng
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 trong 1 ngày
5,0 (1 nhận xét)
0,0
0,0
Avatar người dùng
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 trong 7 ngày
0,0 (0 nhận xét)
0,0
0,0

Về khách hàng

Cờ của AUSTRALIA
Flemington, Australia
4,8
28
Phương thức thanh toán đã xác thực
Thành viên từ thg 8 7, 2015

Xác thực khách hàng

Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.