Thứ Tư, 28 tháng 11, 2018

Youtube daily Nov 28 2018

This video I'm going to show you how you can change links around with the help of JavaScript

and Google Tag Manager.

This can be particularly useful if you want to pass on information on the URL to another

website through the link.

All and more coming up right after this.

Hey there

and welcome back to another video of measureschool.com teaching you the data-driven way of digital

marketing.

My name is Julian.

And if you're new to the channel, we do marketing tech reviews, tutorials, and tips and tricks

videos so if you don't want to miss out, click that subscribe button.

Also that bell notification icon so you don't miss out on new videos.

Now today, we want to talk about how you can change and replace and attach something to

a link via JavaScript.

And then also with Google Tag Manager.

When would this be useful?

Well, if you want to attach something to a string that wasn't in the original link, you

can do so with Google Tag Manager.

It's particularly useful if you want to pass on information that is outside of your website

to a third party tracking tool.

So for example, to an affiliate program.

You could attach an affiliate code to the link URL, you could also try to replace something

in the URL.

Everything then numerically through Google Tag Manager.

This can be super useful.

And I'm going to show you some cases in these videos.

Now the tutorials got a little longer than I expected.

And that's why I broke them down.

In this first video, we're going to talk about how you can actually accomplish this with

JavaScript.

This is the underlying technique that will use an all the subsequent videos.

So stay tuned for the second video where I'm going to introduce some use cases where you

could be using the Replace Link functionality or the Attached Link functionality in future

videos.

We are particularly working here with affiliate links from Amazon.

So it should be quite interesting for all of you affiliate marketers out there.

Now, we got lots to cover so let's dive in.

Welcome back to our demo shop.

On this page, we have certain links that we want to change around for tracking purposes.

Now, these links will be this by product link, it takes you over to Amazon, we have three

more links of these we all want to change.

Before we implement any kind of tracking into Google Tag Manager, we should try our JavaScript

first.

So we know it's working correctly.

Now, how would you change a link with the help of JavaScript?

Let's try this out in our developer tools first.

Inside of Chrome, you can go to your modules here and then your developer tools.

This will normally open up the elements pane which will show you the HTML markup of your

page.

Now, we are interested in this by product link.

And we can utilize this tool here to hover over and click and we'll see how it's marked

up in our HTML.

This is a pretty standard HTML link AHREF.

And the AHREF attribute, we have our URL that the user will be led to.

Now we want to select all these elements that have actually Amazon in them.

How would we do that?

Well, there's a handy command in JavaScript called document.queryselectorall.

And then in parentheses, you would put in, in quotation marks, your CSS selector.

So if you wanted to have all div elements on the page, just put in div and get all the

elements on the page itself.

The handy thing is, if you open this up with this little triangle here, we can hover over

and see where these div elements are.

If you will try this out for links, we simply press the up arrow to get the last command

back, and we can change the div into a.

And we see all the links are now listed that are on this page 77.

And if we hover over them, we see here a logo which would be this logo link up here.

This is obviously not the link that we are interested in and changing.

We want to get to the link that is actually on this product page.

So we would narrow down our CSS selector.

Let's press the up arrow again.

And this time, we only want to get links that have our URL inside of the ahref attribute.

How would we accomplish this?

Well, there's a modifier that we can implement which would be two square brackets and then

the attributes that we interested in.

In our case, it would be ahref, the equal sign.

And then in double quotation marks, we will put in how the ahref should be filled.

In our particular case, I'm interested in this URL up here.

Let enter this in

and press Enter.

And we only get one element back now, which is our by product link.

Now, obviously, we are also interested in the other Amazon links on this page.

So we can modify further to include links that have the Amazon in the URL, kind of like

a contains option.

And the modifier for this is the asterisk in front of the equal sign.

And then you just have to put in your contains niche in our case, it would be simply Amazon.

And voila, we have all the three links that have Amazon in the URL selected.

Now going forward, we can utilize this link.

But let's jump back to our first query selector here, just so we can see how we can change

one link first before we change all of the other links.

So here we are back to our one link.

And exactly that link we want to change.

Now changing links involves getting to the actual attribute of ahref to change out this

URL.

How can we select the attribute with JavaScript?

Let's go back here.

And there's another command we just need to change them with a dot then we enter get attribute.

And again, in parentheses, and quotation marks, we put our desired attribute in our case,

that would be ahref.

Whoops, since we have a node list here, we actually need to select a node first, this

would be the first node.

Okay, so it would be zero.

And then we can get the attribute

with the ahref command.

Okay, and here, we get our link back that is tied to this HTML element.

Now, if you wanted to change this, there's another command.

We don't want to get this attribute.

But we want to set or change this attribute.

So we'll change this to set attribute.

And now we can utilize the ahref.

This is what we want to change and put in a new value.

Let's just put in test.

Now, this gives us back undefined.

But what actually happens under the hood, if you go back to the elements pane here,

we see that our ahref has changed to simply test.

And if you click this button, we would go to our own page with a test attached which

doesn't really exist.

Now, this doesn't make much sense.

But this would be the technique to actually change around a particular link.

The set attribute would be set to the ahref and the link that you want to have in here.

So if you wanted to make a better example, we would, for example, say, let's send this

user to measureschool.

And if the user now clicks on this my link, he goes to measureschool.com.

And so we have now changed this link around.

This obviously only happens if we execute this command before the user clicks the link.

Now, be aware, this only happens if the user would click this link.

It doesn't happen right now, for the other links.

For this, we will actually need to loop through our results.

For this, we need to write a little bit more code.

That's why I'm going to go over to the sources panel where we can open up our snippets, you

can find them right here.

You can write your own snippet.

So I'm going to open up a new snippet here.

And I have something prepared here already.

In this command, we utilize again, our query selector and get all the Amazon links.

We save them in a variable called links.

And then we iterate over these links and set the attribute to measureschool.com like we

did before.

But this now happens for all the links.

You can press this button right here, it will execute and open up the developer tools.

As we expect it returns undefined.

But now all the links up here are changed to measureschool.com, we inspect them right

here we see or change to measureschool.com.

Now, this is how you can change all links on your web page with the help of Google Tag

Manager.

In the next lesson, we're going to go through some use cases where we change links around,

attach stuff to links and make your tracking better through this technique.

For more infomation >> Change Links with Google Tag Manager (Part 1) - Duration: 9:15.

-------------------------------------------

Building Los Angeles' Earthquake-Proof Bridge | The B1M - Duration: 5:50.

For more infomation >> Building Los Angeles' Earthquake-Proof Bridge | The B1M - Duration: 5:50.

-------------------------------------------

New Honda CBR250RR HRC Tricolor Blue Edition 2019 | Honda CBR250RR HRC 2019 | Mich Motorcycle - Duration: 2:06.

For more infomation >> New Honda CBR250RR HRC Tricolor Blue Edition 2019 | Honda CBR250RR HRC 2019 | Mich Motorcycle - Duration: 2:06.

-------------------------------------------

Man Can't Pee Because Of Birds Invading His Bathroom | Kritter Klub - Duration: 2:47.

(Inside this bathroom)

(Is a nest?)

(Who you?)

(Can't make a sound)

(the struggle is real)

(I live here too)

(Mama bird)

(Meal time)

(You're home?)

(Do not disturb)

(Okay, bye..)

It was very uncomfortable

I was afraid that the water would be too loud

I would turn the showerhead on low

(boss bird)

Sometimes I can't even pee properly

They keep coming from dawn till sunset!

(come and go as they please)

(Mommy, where are you?)

Flycatchers usually lay eggs on man-made structures

Because they can take shelter from the rain

And there's no natural enemy

(night vision)

(Baby bird attempts to fly)

(falls down)

(Mama bird calls them)

(the man helps LOL)

(yasssss)

For more infomation >> Man Can't Pee Because Of Birds Invading His Bathroom | Kritter Klub - Duration: 2:47.

-------------------------------------------

Can You Watch This Without Getting Hungry? 😎 TRY NOT TO GET SATISFIED! - Duration: 3:09.

Can You Watch This Without Getting Hungry? 😎 TRY NOT TO GET SATISFIED!

For more infomation >> Can You Watch This Without Getting Hungry? 😎 TRY NOT TO GET SATISFIED! - Duration: 3:09.

-------------------------------------------

রাতে যা খেলে স্ত্রীকে ২২ বছরের যুবকের মতো তৃপ্তি দিতে পারবেন । Effective Garlic & Onion Health Benef - Duration: 4:09.

Share This Video

For more infomation >> রাতে যা খেলে স্ত্রীকে ২২ বছরের যুবকের মতো তৃপ্তি দিতে পারবেন । Effective Garlic & Onion Health Benef - Duration: 4:09.

-------------------------------------------

Deepika Ranveer Ki Shaadi Mein Lallan Bhaiya l Bhojpuri Comedy l Bhojpuri Masti Video l Funny Video - Duration: 1:01.

Deepika Ranveer Ki Shaadi Mein Lallan Bhaiya l Bhojpuri Comedy l Bhojpuri Masti Video l Funny Video

For more infomation >> Deepika Ranveer Ki Shaadi Mein Lallan Bhaiya l Bhojpuri Comedy l Bhojpuri Masti Video l Funny Video - Duration: 1:01.

-------------------------------------------

Bartolomé Esteban Murillo , Bartolomé Esteban Murillo Google Doodle 2018 - Duration: 1:05.

Bartolomé Esteban Murillo , Bartolomé Esteban Murillo Google Doodle 2018

Bartolomé Esteban Murillo google doodle

For more infomation >> Bartolomé Esteban Murillo , Bartolomé Esteban Murillo Google Doodle 2018 - Duration: 1:05.

-------------------------------------------

✔Best Tik Tok MEMES Compilation | FUNNY Videos | Ep.03 - Duration: 3:20.

Tik Tok Funny Compilation!

For more infomation >> ✔Best Tik Tok MEMES Compilation | FUNNY Videos | Ep.03 - Duration: 3:20.

-------------------------------------------

How to Make a Cute Small House from Cardboard - Duration: 2:16.

How to Make a Cute Small House from Cardboard

For more infomation >> How to Make a Cute Small House from Cardboard - Duration: 2:16.

-------------------------------------------

"Internet Wala Love" TV Serial Upcoming Twist 28th November 2018 Full HD Episode | On Location Shoot - Duration: 1:30.

"Internet Wala Love" TV Serial Upcoming Twist 28th November 2018 Full HD Episode | On Location Shoot

For more infomation >> "Internet Wala Love" TV Serial Upcoming Twist 28th November 2018 Full HD Episode | On Location Shoot - Duration: 1:30.

-------------------------------------------

"Jijaji Chhat Per Hain" TV Serial Upcoming Twist 28th November 2018 HD Episode | On Location Shoot - Duration: 2:05.

"Jijaji Chhat Per Hain" TV Serial 28th November 2018 Full HD Episode | On Location Shoot

For more infomation >> "Jijaji Chhat Per Hain" TV Serial Upcoming Twist 28th November 2018 HD Episode | On Location Shoot - Duration: 2:05.

-------------------------------------------

NEW FACEBOOK MESSENGER PLATFORM MESSENGER 4 CHAT UPDATE - Duration: 6:49.

Facebook's messenger service is one of the most popular messaging platforms out

there but in case you haven't noticed it can actually be kind of confusing and

difficult to work with sometimes. In today's video we're gonna talk about

Facebook Messenger and how they're actually releasing their new update

called messenger 4 and how they've simplified this process, how they've made

it easier for people to chat with friends and how they've made it even

more fun to use so stay tuned here we go.

Alright welcome back and thank you for joining us my name is Jordan Steen also

known as Cereal Entrepreneur and at this channel we talk all about social media

marketing, starting an agency or building a personal brand or really just building

an online business so if you're interested in any of those topics hit

that subscribe button and the notification bell on the bottom right

hand corner so you get updates to all of our future content. So like I said in the

beginning, Facebook has just released information about updating their

messenger platform and it's gonna make it decluttered, it's gonna make it easier

to find friends and message those friends, it's gonna make the messenger

platform itself just more interactive and engaging so that way you actually

want to use their platform because that's what they want. They want people

using their platform instead of using their text message service or instead of

using you know Google Hangouts or Skype or anything like that

oh and free marketing agency owners who are trying to land clients make sure you

stay tuned to the end of this video and I'll show you one other video that we

put together where we use facebook Messenger to lian clients for our agency

so stay tuned for that. So Facebook recently did a study where they asked

people what is the most important feature or aspect of a messenger

platform to them and when they were asked that 7 out of 10 people said that

simplicity was the most important thing and so Facebook took that to heart and

they've actually kind of revamped their entire strategy so let's talk about a

few of the things that they plan to do in the messenger platform that's gonna

make it better for you as a marketer and as a user. So the first thing is

messenger 4 is actually simplified the navigation so at that very at the very

bottom of the messenger like screen you'll see all of the navigation areas

and they're simplifying that because they know it is complicated and in my

opinion it's complicated as hell and I use it all the time so that's gonna be

one of the first things they're changing so I'm interested to see what they're

gonna do there I really leave a comment below this video do you

think it's something that they're actually going to they're going to

eliminate some of those buttons or do you think they'll add more let me get

your thoughts because I want to see if you're paying attention because if you

say add more then you're not paying attention so the answer to your question

is Facebook is actually dumbed it down to three tabs. There's going to be chat,

people and discover so the first one the chats tab is the one that houses all of

your conversations it's not only going to be the one-to-one conversations but

it's also going to house the group conversations now so you'll see

everything in one's fluid stream the second one is gonna be the people tab

and the people tab is where you're gonna find all of your friends whether they're

online or not usually it only shows your online friends because people have

enough friends to where they'll have some online and it won't show the

offline ones but I'm sure it'll still show the offline friends too but that's

really all that tab is fourth they're simplifying it down to just be one tab

instead of a groups tab and a friend's tab and all of the other tabs that they

have related to people and then finally number three is the discover tab and the

discover tab is one that they're going to use more for business so you'll find

things like places you want to travel games that you might be interested in

playing or things that you might want to do around your local area so the

messenger tab is actually again getting more focused in that marketer mentality

now we're still gonna give you that template if you stay till the end of

this video but if you want to see more about the actual video that we put

together about how to land Facebook or how to link clients using facebook

Messenger check out this video in the top right hand corner so Facebook

Messenger is actually also adding a camera button to the top right hand

corner of the menu platform and or of the menu for the Facebook messenger

platform and it's going to make it super super easy for you to share video photos

or even do a video call or phone call with one of your friends instead of me

having to tap 500 times to get to the actual point where you can make the call

you literally just swipe and then hit the button you need to call or to send

video or photo or whatever now we all know that Facebook stories are something

that are really really important because everybody just likes using stories

whether it's Instagram Facebook snapchat whatever but Facebook's have not been as

popular and it's because of the fact that they're sometimes just hard to find

so what they're actually doing now is making them easier to find in messenger

as well all you have to do is click the people tab or view one of their stories

so question did you actually like Facebook's story feature

or do you prefer to use Instagram or snapchat stories leave it in the

comments below which one you think is better one final thing that I want to

mention is that it's all about personalization when it comes to

messenger and Facebook really understands that that's why they're

allowing you to do things like custom nicknames now you can do custom chat

fonts and background colors there's all kinds of thing custom emojis it's gonna

be really really cool to see how they play this out and then how other

platforms try to adapt to become that Facebook Messenger style platform

they're gonna look it's gonna be funny really in my opinion to see who's going

to lead that charge and who's gonna make the changes based on whose platform is

performing better right so that's gonna be really cool to pay attention to so

when can we expect these updates basically on October 28th they release

the first update they're doing this in a series of updates so you're allowed to

do things like dark skins on the background now so that way it you know

if your is it's nighttime it's easier to view but that's basically it for now

they haven't done a whole lot yet again they're gonna roll it out in phases so

just pay attention over the rest of this year in the beginning of 2019 and I'm

sure you'll see those changes come out but that's it for this video guys thanks

so much again for joining me and again if you are brand new you need to hit the

subscribe button and the notification bell so you get updates to all of our

free trainings our templates our giveaways because we're about to give

you a template right now and if you haven't subscribed that's gonna make it

a lot harder for you to get access to them so since you've stayed tuned to the

end of this video like I mentioned in the beginning we're gonna give you that

template that I use to land three new clients last year just by sending them a

quick message on Facebook Messenger so if you want access to that template to

that information all you have to do it is it is going to be the very top link

in the description you'll see it just go right below this video in the

description top links sitting right there but that's it for me guys thank

you so much for joining make sure you do everything that I mentioned previously

and I will see you guys on the next one so until then Cereal Entrepreneur out.

there simplifying it down to be oh what did I just do

ready to start living the six-figure work wherever be your own boss lifestyle

will at Cereal Entrepreneur Academy we'll teach you how to use a laptop and

Internet to start your own social media and digital marketing agency get started

with our free Facebook ads training links in the description below guys see you

in the course Cereal Entrepreneur out!

For more infomation >> NEW FACEBOOK MESSENGER PLATFORM MESSENGER 4 CHAT UPDATE - Duration: 6:49.

-------------------------------------------

秋空に花火三昧2018.11.24.Fireworks galore in the autumn sky - Duration: 24:55.

For more infomation >> 秋空に花火三昧2018.11.24.Fireworks galore in the autumn sky - Duration: 24:55.

-------------------------------------------

Щенячий патруль | Супер щенок | Мультики про поезда и паровозики с игрушками - Duration: 5:04.

For more infomation >> Щенячий патруль | Супер щенок | Мультики про поезда и паровозики с игрушками - Duration: 5:04.

-------------------------------------------

ফারহানা রেইন| Model and Actress | Farhana Rain | Photo Video | Photo Shoot | Official - Duration: 2:05.

PhotoVideo

For more infomation >> ফারহানা রেইন| Model and Actress | Farhana Rain | Photo Video | Photo Shoot | Official - Duration: 2:05.

-------------------------------------------

HN- आईफोन, आईफोन एक्स पर बैटरी प्रतिशत कैसे दिखाएं - Duration: 0:41.

many icons in the status bar. You can show the percentage of the battery. in the status bar of your iPhone,

or view it in Control Center. On iPhone X and later, you can see the percentage of the battery. the battery percentage.

in the Control Center. Simply slide down from the top right corner of your monitor. In iPhone 8 .and earlier versions,

you can see the percentage of the battery. in the status bar. Go to Settings. Battery. and activate Battery Percentage.

When low power mode is on, the battery percentage is always displayed in the status bar.

Thank you, for watching Fawzi academy. Please, like. Subscribe, share, this video, and visit, our website, fawziacademy.com.

For more infomation >> HN- आईफोन, आईफोन एक्स पर बैटरी प्रतिशत कैसे दिखाएं - Duration: 0:41.

-------------------------------------------

Demonic Scythe vs Buddy | Kick The Buddy Game Anti Stress - Duration: 12:15.

Welcome to my video

Thank you for this video view

Like, sub, share, support my channel.

Thank you very much

For more infomation >> Demonic Scythe vs Buddy | Kick The Buddy Game Anti Stress - Duration: 12:15.

-------------------------------------------

Who was Bartolomé Esteban Murillo? - Everything to Know about painter Bartolomé Esteban Murillo. - Duration: 2:18.

Today the Search Engine Google is showing a Doodle for Bartolomé Esteban Murillo.

Google is celebrating Spanish painter Murillo's 400th Birthday in a few countries with a doodle.

Bartolomé Esteban Murillo was a Spanish Baroque painter.

Although he is best known for his religious works, Murillo also produced a considerable

number of paintings of contemporary women and children.

These lively, realist portraits of flower girls, street urchins, and beggars constitute

an extensive and appealing record of the everyday life of his times.

Murillo was born to Gaspar Esteban and María Pérez.

He may have been born in Seville or in Pilas, a smaller Andalusian town.

It is clear that he was baptized in Seville in 1618, the youngest son in a family of fourteen.

His father was a barber and surgeon.

After his parents died in 1627 and 1628, he became a ward of his sister's husband, Juan

Agustín Lagares.

Murillo seldom used his father's surname, and instead took his surname from his maternal

grandmother, Elvira Murillo.

Murillo began his art studies in Seville under Juan del Castillo, who was a relative of his

mother (Murillo's uncle, Antonio Pérez, was also a painter).

His first works were influenced by Zurbarán, Jusepe de Ribera and Alonzo Cano, and he shared

their strongly realist approach.

The great commercial importance of Seville at the time ensured that he was subject to

artistic influences from other regions.

He became familiar with Flemish painting and the "Treatise on Sacred Images" of Molanus

(Ian van der Meulen or Molano).

As his painting developed, his more important works evolved towards the polished style that

suited the bourgeois and aristocratic tastes of the time, demonstrated especially in his

Roman Catholic religious works.

Murillo had many pupils and followers.

The prolific imitation of his paintings ensured his reputation in Spain and fame throughout

Europe, and prior to the 19th century his work was more widely known than that of any

other Spanish artist.

Artists influenced by his style included Gainsborough and Greuze.

For more infomation >> Who was Bartolomé Esteban Murillo? - Everything to Know about painter Bartolomé Esteban Murillo. - Duration: 2:18.

-------------------------------------------

I LIKE THIS MELANCHOLY MUSIC! ⤵ copyright free soundtrack - Duration: 3:08.

Melancholy music for you! This is interesting copyright free soundtrack.

Music from which you want to think ... Melodic emotional ambient.

Không có nhận xét nào:

Đăng nhận xét