Forum Replies Created
-
AuthorPosts
-
Any help is appreciated. I know this is…a bit complex. So, apparently, that is the issue. If you guys can help, that’s awesome. If not, you’re still awesome for your help so far. Thanks.
I think I know why it is not working. This is what Bing says:
Thank your for your response and I hope that you are having a great week.“Regarding the query that you sent, I understand that you are having issues in setting up the tracking code on your website. Unlike Adwords, setting an event tracking is done manually and would need 3 tags to be pasted on your source code. You are on the right path that we need add the events in order to complete your goal. Here’s how we can generate the 3 tags needed for the event tracking goal.
1. Tag from the interface (I believe that you already know about this)
Ø We will copy the tag on the goal that you created for the account. It’s on the section called Shared Library under the Goals tab. Please make sure that the revenue set is showing as blank.
2. Java script function to in setting the qualification for each of the event that we have.
Ø This part of the script will be created in your end to assign a function in setting the event that we require a customer to go through before we consider it as a completed conversion
Simple example (discount):
<script>
function computeDiscount(discount, price) {
return price – (discount / 100) * price;
}
var amount = computeDiscount(20, 100); // Compute the goal value
</script>
3. Function to push the information back to our system. This is necessary for us to collect the data that was set up so we can consider the visit as a conversion or not.
EX:
<script>
window.uetq = window.uetq || []; // Pass the computed goal value
window.uetq.push({ ‘ec’: ‘Download’, ‘ea’:’ Click’, ‘el’:”, ‘ev’:”});
</script>
These 3 codes should be integrated on your code in making sure that we set the right qualifications for a complete conversion for an event to take place.Thank you for your response and I am happy to give you some insights on how to set up our event tracking with your Bing Ads account. I understand that there are confusion on how we can start on creating the second tag and I do have a few customers before that is having the same trouble. We have two options for you to do this tag:
1. If your website already have a script to determine which customer downloads the product and which one clicked the intended button that we are trying to filter out, what we need to do is get our developer to integrate the existing javascript and use whatever label they have for “download” and “click”.
OR
2. We need to start from scratch and create a function to filter out which of your customers downloads the product and clicked the button. This might be tedious process however with this case the best things is for your developer to do this for us since they best know how the website was set up.
If there is anything else that we could assist you regarding the same concern, kindly reply so I can get back with you as soon as possible.”It doesn’t seem to work, the GA script works by itself, but whenever I add the other part, neither of them works. Hopefully I got the syntax right?
Thanks.
Thanks, that’s awesome! I’m trying to figure out how to trigger 2 different events at the same time, one with GA and one with Bing Ads. Do I use 2 different lines:
jQuery(‘.ga-buy-1 a’).attr(‘onclick’, ‘window.uetq = window.uetq || []; window.uetq.push({ ‘ec’:’Video’, ‘ea’:’Play’, ‘el’:’Product Demo’, ‘ev’:’5′ });’);
jQuery(‘.ga-buy-1 a’).attr(‘onclick’, ‘ga(\’send\’, \’event\’, \’Buy Button\’, \’Resume\’, \’Resume Template Download\’)\;’);or do I use a single line, and, in that case, what is the syntax?
Thanks again.
Here’s Godaddy’s response to my inquiries. They’ve been somewhat helpful after I pointed out that the error is due to their new security rules. I still get the error, but much less often after they’ve switched me to Managed WordPress hosting. I am posting this for anyone else that gets this error in the future. Moderator – maybe you should consider moving the Empty_Response posts to their own thread? Thanks.
Dear Sir or Madam,
I am a member of Hosting Support, contacting you in regard to “err_empty response” error message you’ve been encountering intermittently when working on your WordPress site.
These errors on Linux Web Hosting accounts are due to MOD_SEC rules on our servers. The system relies on sets of scoring parameters to detect automation and spam. Repeated actions (i.e. excessive logins) from the exact same client to the same site will generally be the trigger. Over time though, this gets auto-unblocked.
Here are a few other reasons as to why you may be encountering the Connection Reset error:
1. You may have a malware/virus that is saved somewhere on the computer, possibly a tracking cookie.
Solution: You may want to run a scanner to review your computer for any malware or virus.2. Local robots cache/cookie signatures can get their IP temporarily blacklisted.
Solution: Please clear your browser’s cache & cookies or try a Private Browsing session.3. A cache/cookie from a previous login, causes the user will continue to try the login over and over.
Solution: Please clear your browser’s cache & cookies or try a Private Browsing session.4. A saved cache/cookie data could attempt a POST to login over and over.
Solution: Please clear your browser’s cache & cookies or try a Private Browsing session.5. Review scripts to ensure repeated rapid POST/GET requests are not being made.
There are two types of requests – one is a POST request and the second is a GET request. A POST request is used to send your data through the internet and network sources to a visitor’s computer. During this process, a POST request may “post” information in multiple places, such as your WordPress administrative panel, the WordPress database, and your local computer’s cache. Each one of these posts equals one HTTP request. The following information further details POST requests:
POST requests are never cached
POST requests do not remain in the browser history
POST requests cannot be bookmarked
POST requests have no restrictions on data lengthThe second HTTP request is a GET request, which is the request sent to your WordPress content from each visitor, search engine, or social media option such as Twitter, Facebook, or similar. If you have 10 visitors attempting to view the website via Facebook or directly entering the URL into a browser, you have 10 HTTP requests, which are operating at the same time as POST requests and all converging on the same WordPress content and database. Please note, GET requests are where you may be exceeding the HTTP requests and the following details the GET requests:
GET requests can be cached
GET requests remain in the browser history
GET requests can be bookmarked
GET requests should never be used when dealing with sensitive data
GET requests have length restrictions
GET requests should be used only to retrieve dataThe following table lists some other HTTP request methods:
Method Description
HEAD Same as GET but returns only HTTP headers and no document body
PUT Uploads a representation of the specified URI
DELETE Deletes the specified resource
OPTIONS Returns the HTTP methods that the server supports
CONNECT Converts the request connection to a transparent TCP/IP tunnelThe following table compares the two HTTP methods: GET and POST.
GET POST
BACK button/Reload Harmless Data will be re-submitted (the browser should alert the user that the data are about to be re-submitted)
Bookmarked Can be bookmarked Cannot be bookmarked
Cached Can be cached Not cached
Encoding type application/x-www-form-urlencoded application/x-www-form-urlencoded or multipart/form-data. Use multipart encoding for binary data
History Parameters remain in browser history Parameters are not saved in browser history
Restrictions on data length Yes, when sending data, the GET method adds the data to the URL; and the length of a URL is limited (maximum URL length is 2048 characters) No restrictions
Restrictions on data type Only ASCII characters allowed No restrictions. Binary data is also allowed
Security GET is less secure compared to POST because data sent is part of the URLNever use GET when sending passwords or other sensitive information! POST is a little safer than GET because the parameters are not stored in browser history or in web server logs
Visibility Data is visible to everyone in the URL Data is not displayed in the URLPlease let us know if we can assist you in any other way.
Thanks, but so far the issue is solved and there is nothing to test. Now I am on a Managed WordPress environment, so I have much less control over the hosting account than with the CPanel.
When I migrated my sites to the CPanel, last year, I had some include errors pop up and the sites were not displaying correctly. After doing some research, I found out that rolling back the Php version on the server will correct the issues and I asked GoDaddy to do just that. Now, that was one of the possible causes for all the issues that I had(Php version not being compatible with the security updates that GoDaddy implemented?).
So, to sum it up – GoDaddy did some changes to their server security to guard against WordPress attacks. In some cases, those updates are causing that Err_Empty_Response Error and the offending IP is temporarily banned(for 2-3 minutes). Switching me to another type of hosting was their solution in my case. It’s working fine, so far.
Thanks, I’ll keep you posted if I find out anything else.
Update: Godaddy moved me from CPanel to Managed WordPress Hosting because, after 2×2 hour phone calls they couldn’t tell what was happening. I will keep you posted if this solves the problem or not, for your future reference. Sorry about all the ruckus ;)
P.S. I have also gone through the visitor logs. admin-ajax get called at least every 2 minutes, or even several times per minute, from my own address. The most frequent referrer is the url of one of my pages getting updated /wp-admin/post.php?post=307&action=edit ; user agent Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36 . Should I worry that this happens every 2 minutes, even at 1 am when I was peacefully sleeping?
Hey Ismael,
Yes, I have contacted Godaddy. They’re saying that something is heavily using the I/O resources and I have to figure out what that is, before the website will function properly. I have read that other people have issues with their IP getting temporarily blocked, because it makes too many requests and a solution would be contacting the provider and whitelisting the IP. I have told them so, but they pointed out that something or multiple somethings is/are generating a lot of traffic for my I/O to spike up like that. I have seen it myself, when I try to edit or save a page, my I/O jumps at 2 MB/s, which is the highest resource plan for hosting. So, they are saying that even if they whitelist my IP, it will automatically get banned again the next time when the disk usage spikes up.
This only seems to happen when I edit/save a page. If I take down all the plugins, it does work, although there is no particular plugin that causes the problem.
So, is there anything that can be done. And, this maybe a stupid question, but is there a plugin/way to slow down or change how the requests to the server are made when editing pages?
Thanks,
SilviuThanks for your reply. Better late than never ;) it is very welcome.
Something is blowing my I/O usage through the roof and it gets my IP address temporarily banned (1-2 minutes I get ERR_EMPTY_RESPONSE message) . I can’t do simple stuff such as edit a page, or even view it when this happens. The javascript and the events are just the cherry on top. It’s what maxes out the I/O on my hosting. I’ve tried to narrow it down, took down plugins and installed WordFence, but I can’t find a trend. My raw server logs show my IP address as the one generating a lot of requests.Hey Josue,
Thank you for your reply. You guys are awesome and patient, even with not theme related questions ;)
Nevertheless, this is what I am talking about:
<meta name=”robots” content=”index, follow” />
I think this is defined in the theme’s files and I need to take out the index property. There are a lot of plugins that allow you to define different metas on a page basis, such as SEO plugins or add to head plugins. But, if I use one of those, I will have 2 meta robots, one defined by the theme with the index property, and one defined by the plugin with a noindex property. I don’t mind the follow. So, if it is possible, where can I completely remove the function that defines these metas or how can I modify it?
Thanks.
P.S.
The I/O on my hosting account gets maxed out @ the highest resource level when I try to edit a page, while using the
JS in functions.php.Here is a quick update, for those who might run into this in the future. This does work. However, if you have too many events(I had 42 – to track each individual element, such as buttons, images and text links, on 3 different pages) it might get your IP temporarily banned with your provider. When this happens to me, I get a “ERR_EMPTY_RESPONSE” message and I can’t access the site for 2-3 minutes. This makes it impossible to even edit a page. I read that it might be because I am with GoDaddy and they limit the number of post requests for security reasons.
After turning off all the plugins and uploading a fresh copy of the theme, I started removing the snippets that I added to the theme files and this javascript (unfortunately) turned out to be what was causing the problem.
Is it possible to do it differently, or do I just have to limit the number of events that I am tracking?
This is awesome. How would you track multiple events on the same page, with different labels? Let’s say 2 buttons(above and below fold) and 2-3 different text links? Thanks.
Thank you for your awesome support.
I will let you know when I solve the issue or give you access to the website. Currently, I am sending traffic to it and I can’t turn it off for to test some of the plugins, for a few days.
Regards,
SilviuIt was worth a try. Thanks anyway ;).
This reply has been marked as private.Hi Yigit,
Thank you for your prompt reply. Other identical pages(same layout & elements, different content and pictures) on the site behave normally. I will follow your advice, of course, but I do not think that is the cause.
Best,
SilviuThis reply has been marked as private.Once again, you guys are awesome.
I will consider it. I’m sorry if I abused your free service. I hoped this would be beneficial for all of us; gray logos as a trust element seem to be the norm nowadays(as to provide the user with more reasons to trust without distracting attention from the page’s main goal/call to action).
Regards,
SilviuThanks, Peter. I’ve tried couple of those and I’m not too happy how the buttons look. Plus, I also need to pass the kws to the download link. The new page onclick would allow me to do some more stuff, in the future.
I think I’m starting to get the hang of how to properly track everything and pass parameters, but there are a few things I still have to test.Regards,
SilviuA good landing age practice is to remove the header menu completely, and put some links in the footer. If I use the blank template, I’d have to create a section at the bottom of the page to emulate a footer section.
For now, this solution works, although a landing page template would do wonders ;)Thanks a lot.
I’ll give it a try, thanks.
This reply has been marked as private.I have used the same css for my logos, it seems to work very nice in Chrome, but not at all in IE or Firefox. One detail that I have to add: I have a hybrid utrabook/tablet so I know for sure that IE in Windows 8 detects it as a mobile device, not a laptop.; not sure about Firefox;Chrome treats it as a laptop.
-
AuthorPosts