Jquery load url with ajax

前端 未结 3 1988
北恋
北恋 2021-01-26 10:13

I\'m trying to automatically run an ajax url when my page is fully loaded using .load() function. It seems my code doesn\'t work.

Other information:

<
3条回答
  •  醉话见心
    2021-01-26 10:38

    I am really puzzled why you need to load a tracking pixel via Ajax:

    I used to work in SEO and we would just include the link to the tracking pixel in an image e.g. via

    .

    Then you have no cross domain issues, no ajax, no worries.It just records on their site that the page loaded has your affiliate code (and probably drops a cookie at the same time).

提交回复
热议问题