![]() ![]() There is an interesting thread in stackoverflow about this "issue": I was wondering how you might have solved that yourself. Image source: Pexels If your social media audiences don’t know or recognize your brand, they will not likely buy from you.After all, people need to know your brand and how About is a leader in SEO optimization, digital marketing, social media and conversion. In other words Turbolinks doesn't allow the content/yield to take place. However if I inspect the markup the meta tags aren't actually up to date unless I manually refresh the page. ![]() The share buttons for Facebook and Twitter are working perfectly " target="_blank"> Hey Chris, I have been using option #3 and the method you suggested but I suspect that Turbolinks is acting up. #2016 SOCIAL MEDIA META TAGS CODE#You can then wrap the head code with the following to include it or not based upon existence of the content: That way the views can have the following code to put in the yield sections. I just updated my open graph tags tonight and did the following in the head in the layout. Same thing goes for gems, it's just adding an unnecessary layer of abstraction to it that you don't really need. I've found that using services like AddThis are really just a pain to use. You will create alternate social media headlines, copy, and descriptions if you want to. If you have additional plugins for SEO like Yoast or Rank Math, they’ll add even more options. Tags are why it is crucial to take the time to fill out all of those fields. If you do need those extras from the JS, you could use a service to simplify, or a relatively easy way is just to include the JS libraries using the official instructions. WordPress and most major CMS backends will include social metadata fields. ![]() The downside is you can't include the count of shares because that requires JS. I've been pretty happy using #3 because it doesn't slow down the page load at all, and you can still customize those pretty well. I have been looking for an answer without really finding a good implementation.īut they don't really provide a way to customize either the buttons or the content that needs to be shared.ġ - Should I implement a basic Javascript libraryĢ - Strip down these gems and build a custom solution based on thoseĪlso if I want to include sharing buttons for multiple models (for example articles and courses) on the same page how can I dynamically change my open graph and twitter card so that it reflect the correct model data: What is the best way for the visitors of my page (not logged in) to share models data (for example articles and courses) on Facebook and Twitter. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |